<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkColorSelectionDialog: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
<link rel="prev" href="GtkColorSelection.html" title="GtkColorSelection">
<link rel="next" href="GtkHSV.html" title="GtkHSV">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GtkColorSelectionDialog.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GtkColorSelectionDialog.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GtkColorSelectionDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GtkColorSelectionDialog.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="DeprecatedObjects.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GtkColorSelection.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GtkHSV.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkColorSelectionDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkColorSelectionDialog.top_of_page"></a>GtkColorSelectionDialog</span></h2>
<p>GtkColorSelectionDialog — Deprecated dialog box for selecting a color</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-new" title="gtk_color_selection_dialog_new ()">gtk_color_selection_dialog_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-get-color-selection" title="gtk_color_selection_dialog_get_color_selection ()">gtk_color_selection_dialog_get_color_selection</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td>
<td class="property_name"><a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--cancel-button" title="The “cancel-button” property">cancel-button</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td>
<td class="property_name"><a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--color-selection" title="The “color-selection” property">color-selection</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td>
<td class="property_name"><a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--help-button" title="The “help-button” property">help-button</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td>
<td class="property_name"><a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog--ok-button" title="The “ok-button” property">ok-button</a></td>
<td class="property_flags">Read</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GtkColorSelectionDialog.html#GtkColorSelectionDialog-struct" title="struct GtkColorSelectionDialog">GtkColorSelectionDialog</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GInitiallyUnowned
        <span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
            <span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
                <span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
                    <span class="lineart">╰──</span> <a class="link" href="GtkWindow.html" title="GtkWindow">GtkWindow</a>
                        <span class="lineart">╰──</span> <a class="link" href="GtkDialog.html" title="GtkDialog">GtkDialog</a>
                            <span class="lineart">╰──</span> GtkColorSelectionDialog
</pre>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkColorSelectionDialog implements
 AtkImplementorIface and  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtk/gtk.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.description"></a><h2>Description</h2>
<p>The <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> provides a standard dialog which
allows the user to select a color much like the <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>
provides a standard dialog for file selection.</p>
<p>Use <a class="link" href="GtkColorSelectionDialog.html#gtk-color-selection-dialog-get-color-selection" title="gtk_color_selection_dialog_get_color_selection ()"><code class="function">gtk_color_selection_dialog_get_color_selection()</code></a> to get the
<a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget contained within the dialog. Use this widget
and its <a class="link" href="GtkColorSelection.html#gtk-color-selection-get-current-color" title="gtk_color_selection_get_current_color ()"><code class="function">gtk_color_selection_get_current_color()</code></a>
function to gain access to the selected color.  Connect a handler
for this widget’s <a class="link" href="GtkColorSelection.html#GtkColorSelection-color-changed" title="The “color-changed” signal"><span class="type">“color-changed”</span></a> signal to be notified
when the color changes.</p>
<div class="refsect2">
<a name="GtkColorSelectionDialog-BUILDER-UI"></a><h3>GtkColorSelectionDialog as GtkBuildable</h3>
<p>The GtkColorSelectionDialog implementation of the GtkBuildable interface
exposes the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> as internal child with the
name “color_selection”. It also exposes the buttons with the names
“ok_button”, “cancel_button” and “help_button”.</p>
</div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-color-selection-dialog-new"></a><h3>gtk_color_selection_dialog_new ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_color_selection_dialog_new (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_color_selection_dialog_new</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Creates a new <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.</p>
<div class="refsect3">
<a name="gtk-color-selection-dialog-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>title</p></td>
<td class="parameter_description"><p>a string containing the title text for the dialog.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-color-selection-dialog-new.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-color-selection-dialog-get-color-selection"></a><h3>gtk_color_selection_dialog_get_color_selection ()</h3>
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
gtk_color_selection_dialog_get_color_selection
                               (<em class="parameter"><code><a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a> *colorsel</code></em>);</pre>
<div class="warning"><p><code class="literal">gtk_color_selection_dialog_get_color_selection</code> is deprecated and should not be used in newly-written code.</p></div>
<p>Retrieves the <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a> widget embedded in the dialog.</p>
<div class="refsect3">
<a name="gtk-color-selection-dialog-get-color-selection.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>colorsel</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkColorSelectionDialog.html" title="GtkColorSelectionDialog"><span class="type">GtkColorSelectionDialog</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-color-selection-dialog-get-color-selection.returns"></a><h4>Returns</h4>
<p>the embedded <a class="link" href="GtkColorSelection.html" title="GtkColorSelection"><span class="type">GtkColorSelection</span></a>. </p>
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 2.14</p>
</div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkColorSelectionDialog-struct"></a><h3>struct GtkColorSelectionDialog</h3>
<pre class="programlisting">struct GtkColorSelectionDialog;</pre>
</div>
</div>
<div class="refsect1">
<a name="GtkColorSelectionDialog.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkColorSelectionDialog--cancel-button"></a><h3>The <code class="literal">“cancel-button”</code> property</h3>
<pre class="programlisting">  “cancel-button”            <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
<p>The cancel button of the dialog.</p>
<p>Owner: GtkColorSelectionDialog</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkColorSelectionDialog--color-selection"></a><h3>The <code class="literal">“color-selection”</code> property</h3>
<pre class="programlisting">  “color-selection”          <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
<p>The color selection embedded in the dialog.</p>
<p>Owner: GtkColorSelectionDialog</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkColorSelectionDialog--help-button"></a><h3>The <code class="literal">“help-button”</code> property</h3>
<pre class="programlisting">  “help-button”              <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
<p>The help button of the dialog.</p>
<p>Owner: GtkColorSelectionDialog</p>
<p>Flags: Read</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkColorSelectionDialog--ok-button"></a><h3>The <code class="literal">“ok-button”</code> property</h3>
<pre class="programlisting">  “ok-button”                <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
<p>The OK button of the dialog.</p>
<p>Owner: GtkColorSelectionDialog</p>
<p>Flags: Read</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>